package top.glike.funct.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.glike.common.core.domain.AjaxResult;

@Slf4j
@RestController
@RequestMapping("/test")
public class TestWebController {

    @GetMapping("/web")
    public AjaxResult testWeb() {
        log.info("测试接口是否正常...");
        return AjaxResult.success("接口正常...");
    }
}
